// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
//引入路由
import router from './router/index'
//引入elementui
import elementui from './elementui/index'

//引入封装后的axios
import httpRequest from "./utils/httpRequest.js"

//需要把httprequest 对象设置vue实例中   把httpRequest对象挂载到vue实例中
Vue.prototype.$httpRequest = httpRequest //给vue实例中设置一个$httpRequest 的属性值为 axios实例= httprequest

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})